package cn.colins.raft.enity;

import cn.colins.raft.rpc.domin.RpcMsgId;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description 客户端的请求
 * @Author czl
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2023/7/19
 */

public class ClientRequest extends RpcMsgId implements Serializable {

    private String command;

    public ClientRequest(String command) {
        this.command = command;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }
}
